// 拦截ajax请求，返回随机数据
import Mock from "mockjs";
import banners from "./banners.json";
import floors from "./floors.json";

Mock.mock("/mock/getBanners", "get", {
  code: 200,
  data: banners,
  // message: "",
  // success: true,
});

Mock.mock("/mock/getFloors", "get", {
  code: 200,
  data: floors,
});
